package com.flowerplus.store.api;

import com.flowerplus.store.constant.Constant;
import com.flowerplus.store.constant.Methods;
import com.flowerplus.store.models.result.ResultBean;

import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by ems on 2017/2/27.
 */

public interface Api {
//    @POST("/quncan/login/original")
//    @FormUrlEncoded
//    Observable<ResultBean<User>> login(@Field("jsonstr") String json);
//
//    @POST("/quncan/login/token")
//    @FormUrlEncoded
//    Observable<ResultBean<User>> loginToken(@Field("jsonstr") String json);
//
//
//    @POST("/quncan/code/getIdentifyingCode")
//    @FormUrlEncoded
//    Observable<ResultBean> getSmsCode(@Field("jsonstr") String json);

    @POST("/app_v2_5")
    @FormUrlEncoded
    Observable<ResultBean> checkMobile(@Field(Methods.METHOD)String name,@Field(Constant.MOBILE)String mobile,@Field(Constant.SIGN)String sign);

















}
